package edu.sctu.huangtianlin.day20150510;

/**
 * Created by user17 on 2015/5/10.
 */
public class Review {
    public int getnumber(ReviewOne reviewone) {
        for (int i = 0; i < reviewone.number; i++) {
            reviewone.sum += i;
        }
        return reviewone.sum;

    }
}
